(LD_SWITCH_SYSTEM) [__GNUC__]: Pass -a archive to ld.
authorRichard M. Stallman <rms@gnu.org>
Wed, 26 May 1993 20:03:16 +0000 (20:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 26 May 1993 20:03:16 +0000 (20:03 +0000)
src/s/hpux8.h

index b79a001c5f601a48c9c3f57a65f1ac44365673fb..e49dcd6800cfa895d26d97570b49c073372f97d6 100644 (file)
@@ -15,7 +15,7 @@
    Note GCC automatically passes -a archive to ld, and it has its own
    conflicting -a.  */
 #ifdef __GNUC__
-#define LD_SWITCH_SYSTEM  -L/usr/lib/X11R4 -static
+#define LD_SWITCH_SYSTEM  -L/usr/lib/X11R4 -Xlinker -a -Xlinker archive
 
 /* No need to specify roundabout way of linking temacs.  */
 #define ORDINARY_LINK